Various cleanup of PROV_R_ reason codes
[openssl.git] / providers / implementations / ciphers / ciphercommon_gcm.c
index 8b9d06b0a4976f221b10f1564c02a7f119644e35..02a496d1ddae5ebd003b702c3ae728018f244a03 100644 (file)
@@ -513,7 +513,7 @@ static int gcm_tls_cipher(PROV_GCM_CTX *ctx, unsigned char *out, size_t *padlen,
      * side only.
      */
     if (ctx->enc && ++ctx->tls_enc_records == 0) {
-        ERR_raise(ERR_LIB_PROV, EVP_R_TOO_MANY_RECORDS);
+        ERR_raise(ERR_LIB_PROV, PROV_R_TOO_MANY_RECORDS);
         goto err;
     }