summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-05-27 17:28:35 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-06-13 15:13:21 +0200
commit032b13c78447e29a22db70835725d8aae455a47b (patch)
treeecea017064f31102c122dd5647e6b18572013192 /include
parentf009e37c76df33ffa32204e94a9564ceb71c7745 (diff)
Correct error reason of verify_signature() in cmp_vfy.c
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11998)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/cmperr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/cmperr.h b/include/openssl/cmperr.h
index 31fa43cd92..d1ce2256fa 100644
--- a/include/openssl/cmperr.h
+++ b/include/openssl/cmperr.h
@@ -10,6 +10,7 @@
#ifndef OPENSSL_CMPERR_H
# define OPENSSL_CMPERR_H
+# pragma once
# include <openssl/opensslconf.h>
# include <openssl/symhacks.h>
@@ -68,6 +69,7 @@ int ERR_load_CMP_strings(void);
# define CMP_R_ERROR_SETTING_CERTHASH 128
# define CMP_R_ERROR_UNEXPECTED_CERTCONF 160
# define CMP_R_ERROR_VALIDATING_PROTECTION 140
+# define CMP_R_ERROR_VALIDATING_SIGNATURE 171
# define CMP_R_FAILED_EXTRACTING_PUBKEY 141
# define CMP_R_FAILURE_OBTAINING_RANDOM 110
# define CMP_R_FAIL_INFO_OUT_OF_RANGE 129