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:
eb2b33c
)
Make sure the padlock code compiles correctly even on hardware that
author
Richard Levitte
<levitte@openssl.org>
Wed, 6 May 2009 13:55:40 +0000
(13:55 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 6 May 2009 13:55:40 +0000
(13:55 +0000)
doesn't have padlocks.
engines/e_padlock.c
patch
|
blob
|
history
diff --git
a/engines/e_padlock.c
b/engines/e_padlock.c
index f051dd88bedbad3fbfc13ccef1564329f59caedf..b89113e3bd1e50d8bdc64b69ecd4f5595f49b250 100644
(file)
--- a/
engines/e_padlock.c
+++ b/
engines/e_padlock.c
@@
-1319,7
+1319,12
@@
static RAND_METHOD padlock_rand = {
padlock_rand_status, /* rand status */
};
-#endif /* COMPILE_HW_PADLOCK */
+#else /* !COMPILE_HW_PADLOCK */
+#ifndef OPENSSL_NO_DYNAMIC_ENGINE
+OPENSSL_EXPORT
+int bind_engine(ENGINE *e, const char *id, const dynamic_fns *fns) { return 0; }
+IMPLEMENT_DYNAMIC_CHECK_FN()
+#endif
#endif /* !OPENSSL_NO_HW_PADLOCK */
#endif /* !OPENSSL_NO_HW */