Skip to content

Commit 4b67129

Browse files
jbolerkares
authored andcommittedJun 1, 2018
Fix jopenssl24 set_key methods (#166)
1 parent b5a74f8 commit 4b67129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lib/jopenssl/_compat23.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module PKey
77
class DH
88

99
def set_key(pub_key, priv_key)
10-
self.public_key = pub_key
10+
self.pub_key = pub_key
1111
self.priv_key = priv_key
1212
self
1313
end
@@ -28,7 +28,7 @@ def set_pqg(p, q, g)
2828
class DSA
2929

3030
def set_key(pub_key, priv_key)
31-
self.public_key = pub_key
31+
self.pub_key = pub_key
3232
self.priv_key = priv_key
3333
self
3434
end

0 commit comments

Comments
 (0)
Please sign in to comment.