diff --git a/src/common/rand/rand_nist.c b/src/common/rand/rand_nist.c index 9ffbbbe8d..12407a08d 100644 --- a/src/common/rand/rand_nist.c +++ b/src/common/rand/rand_nist.c @@ -44,9 +44,9 @@ static void AES256_ECB(unsigned char *key, unsigned char *ctr, unsigned char *bu /* Create and initialise the context */ ctx = OSSL_FUNC(EVP_CIPHER_CTX_new)(); - OQS_EXIT_IF_NULLPTR(ctx, "OpenSSL"); + OQS_EXIT_IF_NULLPTR(ctx, "OpenSSL"); - OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptInit_ex)(ctx, oqs_aes_256_ecb(), NULL, key, NULL)); + OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptInit_ex)(ctx, oqs_aes_256_ecb(), NULL, key, NULL)); OQS_OPENSSL_GUARD(OSSL_FUNC(EVP_EncryptUpdate)(ctx, buffer, &len, ctr, 16)); /* Clean up */