mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-27 05:03:07 -08:00
Pull out openssl code into separate crypto-openssl.cpp file
This will allow the use of different crypto libraries in the future. Modified-by: Andrew Ayer <agwa@andrewayer.name> * Don't include openssl/err.h from git-crypt.cpp * Fix whitespace and other style to conform to project conventions * Remove unnecessary operators from Aes_ctr_encryptor * Rename crypto_init to init_crypto, for consistency with init_std_streams()
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
const char* argv0;
|
||||
|
||||
@@ -90,7 +89,7 @@ try {
|
||||
*/
|
||||
|
||||
init_std_streams();
|
||||
ERR_load_crypto_strings();
|
||||
init_crypto();
|
||||
|
||||
/*
|
||||
* Parse command line arguments
|
||||
|
||||
Reference in New Issue
Block a user