diff options
author | Andrew Cady <d@jerkface.net> | 2021-10-09 20:13:18 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2021-10-09 20:13:18 -0400 |
commit | 59514348ec70163dfd5dab17d589c94f2c74b7d9 (patch) | |
tree | db8a1e79a452d0574dd2365c823cfae1a0ccf6c9 | |
parent | 95ba6218e1cbe3ba0b9d515c4b27b814fc3ff03d (diff) |
fixup! implement options
-rwxr-xr-x | cryptonomic-vpn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cryptonomic-vpn b/cryptonomic-vpn index 3add26d..02a8a14 100755 --- a/cryptonomic-vpn +++ b/cryptonomic-vpn | |||
@@ -231,11 +231,12 @@ openssl() | |||
231 | 231 | ||
232 | write_public_key() | 232 | write_public_key() |
233 | { | 233 | { |
234 | openssl rsa -in "$1" -outform DER | 234 | openssl rsa -in "$1" -outform DER -pubout |
235 | } | 235 | } |
236 | |||
236 | write_private_key() | 237 | write_private_key() |
237 | { | 238 | { |
238 | openssl rsa -in "$1" -outform DER -pubout | 239 | openssl rsa -in "$1" -outform DER |
239 | } | 240 | } |
240 | 241 | ||
241 | write_remote_key() | 242 | write_remote_key() |