]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/implementations/ciphers/ciphercommon_gcm.c
Rename EVP_CIPHER_CTX_get_iv and EVP_CIPHER_CTX_get_iv_state for clarity
[thirdparty/openssl.git] / providers / implementations / ciphers / ciphercommon_gcm.c
index e70fc474a3f2685a4e89622fa328f262c899536e..2744e1fafc5f76b6f0ba0fc67e3455c82fb231b8 100644 (file)
@@ -171,7 +171,7 @@ int gcm_get_ctx_params(void *vctx, OSSL_PARAM params[])
         }
     }
 
-    p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_IV_STATE);
+    p = OSSL_PARAM_locate(params, OSSL_CIPHER_PARAM_UPDATED_IV);
     if (p != NULL) {
         if (ctx->iv_state == IV_STATE_UNINITIALISED)
             return 0;