mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
even the default case in a switch requires some action (add break;)
EVP_sha1() returns a const EVP_MD *, so reflect that in the variable we store its return value in.
This commit is contained in:
parent
91f1c2b3cc
commit
6e085fd13f
1 changed files with 2 additions and 1 deletions
|
|
@ -235,6 +235,7 @@ x509_sign_ok(arg)
|
|||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
status = EVP_VerifyFinal(md_ctx,
|
||||
|
|
@ -282,7 +283,7 @@ retrieve_x509_marker(filename, sign, userid)
|
|||
int sig_len = 4096;
|
||||
unsigned char * sig_buf;
|
||||
EVP_MD_CTX md_ctx;
|
||||
EVP_MD * md_type;
|
||||
const EVP_MD * md_type;
|
||||
EVP_PKEY * pkey;
|
||||
|
||||
char keyfile[PATH_MAX + 1] = KEYFILE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue