OSSL_CMP_SRV_process_request(): Log any error queue entries on response
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 10 May 2021 12:38:36 +0000 (14:38 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Fri, 14 May 2021 17:24:42 +0000 (19:24 +0200)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15053)

crypto/cmp/cmp_server.c

index 4e8fa6e0696be534db71781626700c1f93a60482..ded4e9786fab40accf883213b1873299c18b8707 100644 (file)
@@ -588,6 +588,7 @@ OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx,
             OSSL_CMP_PKISI_free(si);
         }
     }
+    OSSL_CMP_CTX_print_errors(ctx);
     ctx->secretValue = backup_secret;
 
     /* possibly close the transaction */