Displaying 2 results from an estimated 2 matches for "digest_sha1".
2001 Mar 04
1
bubblebabble patch
...ideas and code from Bjoern Groenvall <bg at sics.se>
--- ./openssh-2.5.1/ssh-keygen_original.c Sun Mar 4 00:49:31 2001
+++ ./openssh-2.5.1/ssh-keygen.c Sun Mar 4 00:52:56 2001
@@ -346,9 +346,22 @@
debug("try_load_public_key KEY_UNSPEC failed");
}
if (success) {
+
+ char *digest_sha1, *digest_bubblebabble;
+
+ digest_sha1 =
key_fingerprint_ex(public,DIGEST_TYPE_SHA1,DIGEST_REPRESENTATION_HEX);
+ digest_bubblebabble =
key_fingerprint_ex(public,DIGEST_TYPE_SHA1,DIGEST_REPRESENTATION_BUBBLEBABBLE);
+
printf("%d %s %s\n", key_size(public), key_fingerprint(public),
co...
2006 Apr 12
3
uninitialized constant OpenSSL::Digest::SHA1
...rb:18:
uninitialized constant OpenSSL::Digest::SHA1 (NameError)
from c:/program files/dev/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:397
from c:/program files/dev/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4
>From security.rb:
if Gem.ssl_available?
PKEY_RSA = OpenSSL::PKey::RSA
(18) DIGEST_SHA1 = OpenSSL::Digest::SHA1
Any ideas?
--
Posted via http://www.ruby-forum.com/.