projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Don't allow an empty Subject when creating a Certificate"
[openssl.git]
/
apps
/
dgst.c
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 45745507962392aeedcb8326889f2b39bca6f67d..4bf20f33e5fe877d97682afbd63ceae103948333 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-277,8
+277,8
@@
int dgst_main(int argc, char **argv)
}
if (hmac_key != NULL) {
}
if (hmac_key != NULL) {
- sigkey = EVP_PKEY_new_
mac
_key(EVP_PKEY_HMAC, impl,
- (unsigned char *)hmac_key, -1);
+ sigkey = EVP_PKEY_new_
raw_private
_key(EVP_PKEY_HMAC, impl,
+
(unsigned char *)hmac_key, -1);
if (sigkey == NULL)
goto end;
}
if (sigkey == NULL)
goto end;
}