diff options
author | snowdrop | 2006-01-10 11:29:04 +0000 |
---|---|---|
committer | snowdrop | 2006-01-10 11:29:04 +0000 |
commit | 07c7c81772c4b60b7980880847f3b21455a0f3c9 (patch) | |
tree | d7f8ea3508586842124684aa8f0b860f3a3a1c47 /nanohttp/nanohttp-ssl.h | |
parent | e96ea6884919f551111c32de0b63af4dff791f12 (diff) | |
download | csoap-07c7c81772c4b60b7980880847f3b21455a0f3c9.tar.gz csoap-07c7c81772c4b60b7980880847f3b21455a0f3c9.tar.bz2 |
indent with 'indent -nut -bli0 -fca -npcs' command
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r-- | nanohttp/nanohttp-ssl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index 449c78c..f4ec7ef 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -63,7 +63,7 @@ typedef struct Con * Initialize the context */ -SSL_CTX *initialize_ctx (char *keyfile, char *password, char *calist); +SSL_CTX *initialize_ctx(char *keyfile, char *password, char *calist); /* * Quick function for verifying a portion of the cert @@ -71,7 +71,7 @@ SSL_CTX *initialize_ctx (char *keyfile, char *password, char *calist); * returns non-zero if everything went ok */ -int verify_sn (X509 * cert, int who, int nid, char *str); +int verify_sn(X509 * cert, int who, int nid, char *str); /* * Called by framework for verify @@ -83,20 +83,20 @@ int verify_sn (X509 * cert, int who, int nid, char *str); * This function MUST be implemented by user client/server code somewhere */ -int user_verify (X509 * cert); +int user_verify(X509 * cert); /* * Create the ssl socket and return it * pass in the context and an open socket */ -SSL *init_ssl (SSL_CTX * ctx, int sock, int type); +SSL *init_ssl(SSL_CTX * ctx, int sock, int type); /* * Close the ssl connection (socket is still left open) */ -void ssl_cleanup (); +void ssl_cleanup(); #endif |