summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-10-09 20:13:18 -0400
committerAndrew Cady <d@jerkface.net>2021-10-09 20:13:18 -0400
commit59514348ec70163dfd5dab17d589c94f2c74b7d9 (patch)
treedb8a1e79a452d0574dd2365c823cfae1a0ccf6c9
parent95ba6218e1cbe3ba0b9d515c4b27b814fc3ff03d (diff)
fixup! implement options
-rwxr-xr-xcryptonomic-vpn5
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
232write_public_key() 232write_public_key()
233{ 233{
234 openssl rsa -in "$1" -outform DER 234 openssl rsa -in "$1" -outform DER -pubout
235} 235}
236
236write_private_key() 237write_private_key()
237{ 238{
238 openssl rsa -in "$1" -outform DER -pubout 239 openssl rsa -in "$1" -outform DER
239} 240}
240 241
241write_remote_key() 242write_remote_key()