summaryrefslogtreecommitdiff
path: root/ruby_1_8_6/ext/digest/sha1/sha1ossl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_6/ext/digest/sha1/sha1ossl.c')
-rw-r--r--ruby_1_8_6/ext/digest/sha1/sha1ossl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ruby_1_8_6/ext/digest/sha1/sha1ossl.c b/ruby_1_8_6/ext/digest/sha1/sha1ossl.c
new file mode 100644
index 0000000000..452cf35084
--- /dev/null
+++ b/ruby_1_8_6/ext/digest/sha1/sha1ossl.c
@@ -0,0 +1,10 @@
+/* $Id$ */
+
+#include "defs.h"
+#include "sha1ossl.h"
+
+void
+SHA1_Finish(SHA1_CTX *ctx, char *buf)
+{
+ SHA1_Final((unsigned char *)buf, ctx);
+}