Browse Source

Fix missing return in DTLS1.3 / FIPS code

Per Allansson 3 months ago
parent
commit
92d7815b5c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/dtls13.c

+ 1 - 0
src/dtls13.c

@@ -262,6 +262,7 @@ static int Dtls13GetRnMask(WOLFSSL* ssl, const byte* ciphertext, byte* mask,
         return wc_AesEncryptDirect(c->aes, mask, ciphertext);
 #else
         wc_AesEncryptDirect(c->aes, mask, ciphertext);
+        return 0;
 #endif
     }
 #endif /* HAVE_AESGCM || HAVE_AESCCM */