summaryrefslogtreecommitdiff
path: root/crypto/evp/m_dss1.c
diff options
context:
space:
mode:
authorsteve <steve>2001-03-09 02:50:16 +0000
committersteve <steve>2001-03-09 02:50:16 +0000
commitbeacd7cc353f7c4bb16b55f808074005c4963e0e (patch)
tree0ab66eeccbec787837dee55eeff3aa28a27e6e86 /crypto/evp/m_dss1.c
parentd90c838f4247aee2a1fa248ca1a37fa9a054b0bb (diff)
downloadopenssl-beacd7cc353f7c4bb16b55f808074005c4963e0e.tar.gz
Change the EVP_somecipher() and EVP_somedigest()
functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
Diffstat (limited to 'crypto/evp/m_dss1.c')
-rw-r--r--crypto/evp/m_dss1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/m_dss1.c b/crypto/evp/m_dss1.c
index af85c1f7d..115c432f9 100644
--- a/crypto/evp/m_dss1.c
+++ b/crypto/evp/m_dss1.c
@@ -63,7 +63,7 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
-static EVP_MD dss1_md=
+static const EVP_MD dss1_md=
{
NID_dsa,
NID_dsaWithSHA1,
@@ -76,7 +76,7 @@ static EVP_MD dss1_md=
sizeof(EVP_MD *)+sizeof(SHA_CTX),
};
-EVP_MD *EVP_dss1(void)
+const EVP_MD *EVP_dss1(void)
{
return(&dss1_md);
}