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:
Bill Fumerola 2003-02-03 22:47:03 +00:00
parent 91f1c2b3cc
commit 6e085fd13f

View file

@ -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;