projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92eb4c5
)
Don't try to set pmd if it is NULL.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 1 Feb 2011 19:15:12 +0000
(19:15 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 1 Feb 2011 19:15:12 +0000
(19:15 +0000)
fips/dsa/fips_dssvs.c
patch
|
blob
|
history
diff --git
a/fips/dsa/fips_dssvs.c
b/fips/dsa/fips_dssvs.c
index 47da3466eb2c5247e88b26af4f912986818061d9..b9e0f8d0e9e811a48fdb07dd9b11279ce20664f6 100644
(file)
--- a/
fips/dsa/fips_dssvs.c
+++ b/
fips/dsa/fips_dssvs.c
@@
-35,7
+35,8
@@
static int parse_mod(char *line, int *pdsa2, int *pL, int *pN,
*pL = atoi(line);
*pdsa2 = 0;
*pN = 160;
- *pmd = EVP_sha1();
+ if (pmd)
+ *pmd = EVP_sha1();
return 1;
}
*pdsa2 = 1;