projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for authority information access extension.
[openssl.git]
/
crypto
/
evp
/
m_sha.c
diff --git
a/crypto/evp/m_sha.c
b/crypto/evp/m_sha.c
index d723ac76a39bfa63a73a8ff8c5fc78c1627ec2dd..6d35b71b8506346419d09d80263c03936ad75a42 100644
(file)
--- a/
crypto/evp/m_sha.c
+++ b/
crypto/evp/m_sha.c
@@
-1,5
+1,5
@@
/* crypto/evp/m_sha.c */
/* crypto/evp/m_sha.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-56,11
+56,12
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
+#ifndef NO_SHA
#include <stdio.h>
#include "cryptlib.h"
#include <stdio.h>
#include "cryptlib.h"
-#include
"evp.h"
-#include
"objects.h"
-#include
"x509.h"
+#include
<openssl/evp.h>
+#include
<openssl/objects.h>
+#include
<openssl/x509.h>
static EVP_MD sha_md=
{
static EVP_MD sha_md=
{
@@
-71,10
+72,12
@@
static EVP_MD sha_md=
SHA_Update,
SHA_Final,
EVP_PKEY_RSA_method,
SHA_Update,
SHA_Final,
EVP_PKEY_RSA_method,
+ SHA_CBLOCK,
+ sizeof(EVP_MD *)+sizeof(SHA_CTX),
};
};
-EVP_MD *EVP_sha()
+EVP_MD *EVP_sha(
void
)
{
return(&sha_md);
}
{
return(&sha_md);
}
-
+#endif