Skip to content

Commit

Permalink
Fix jopenssl24 set_key methods (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jboler authored and kares committed Jun 1, 2018
1 parent b5a74f8 commit 4b67129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/jopenssl/_compat23.rb
Expand Up @@ -7,7 +7,7 @@ module PKey
class DH

def set_key(pub_key, priv_key)
self.public_key = pub_key
self.pub_key = pub_key
self.priv_key = priv_key
self
end
Expand All @@ -28,7 +28,7 @@ def set_pqg(p, q, g)
class DSA

def set_key(pub_key, priv_key)
self.public_key = pub_key
self.pub_key = pub_key
self.priv_key = priv_key
self
end
Expand Down

0 comments on commit 4b67129

Please sign in to comment.