diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-01-07 03:21:49 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-01-07 03:21:49 +0000 |
commit | 513baee13d96cd200a6ed15a538774b768c2eac9 (patch) | |
tree | be153ea0f4a09672b612aad21fafc23eb0919966 /crypto.c | |
parent | Version 2.1_beta8 released (diff) | |
download | openvpn-513baee13d96cd200a6ed15a538774b768c2eac9.tar.xz |
Small fixes:
* Fixed variable declaration in crypto.c that is not at
the head of a block.
* Added library to Visual C makefile.
* In server.conf config sample, add additional comment
text on "dev tap" usage.
* Added some short documentation on revoke-full script.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@877 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'crypto.c')
-rw-r--r-- | crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1012,6 +1012,7 @@ read_key_file (struct key2 *key2, const char *file, const unsigned int flags) const char *error_filename = file; /* parse info */ + const char *cp; int hb_index = 0; int line_num = 1; int line_index = 0; @@ -1062,7 +1063,7 @@ read_key_file (struct key2 *key2, const char *file, const unsigned int flags) close (fd); } - const char *cp = (char *)in.data; + cp = (char *)in.data; while (size) { const char c = *cp; |