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:
4b23506
)
Be more consistent with OPENSSL_NO_SHA256.
author
Andy Polyakov
<appro@openssl.org>
Sun, 22 May 2005 10:27:59 +0000
(10:27 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 22 May 2005 10:27:59 +0000
(10:27 +0000)
crypto/sha/sha256t.c
patch
|
blob
|
history
diff --git
a/crypto/sha/sha256t.c
b/crypto/sha/sha256t.c
index 5c26ec86ef71ce9f6a11b10ce2736371716b35e3..68184b258241d50d90df39f4c6f11ba649e5cc8e 100644
(file)
--- a/
crypto/sha/sha256t.c
+++ b/
crypto/sha/sha256t.c
@@
-10,6
+10,14
@@
#include <openssl/sha.h>
#include <openssl/evp.h>
+#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA256)
+int main(int argc, char *argv[])
+{
+ printf("No SHA256 support\n");
+ return(0);
+}
+#else
+
unsigned char app_b1[SHA256_DIGEST_LENGTH] = {
0xba,0x78,0x16,0xbf,0x8f,0x01,0xcf,0xea,
0x41,0x41,0x40,0xde,0x5d,0xae,0x22,0x23,
@@
-136,3
+144,4
@@
int main ()
return 0;
}
+#endif