summaryrefslogtreecommitdiff
path: root/src/general.c
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-08-07 14:20:31 +0000
committerBryan Ischo <bryan@ischo.com>2008-08-07 14:20:31 +0000
commit035dd9752eeefdcbb885bc234cda04563f68d319 (patch)
tree1854a13b20f9532cf9b767df55789362bfde76e6 /src/general.c
parent744c19acf5d8dd7c02193bf3fafd2e6a548f43e4 (diff)
downloadceph-libs3-035dd9752eeefdcbb885bc234cda04563f68d319.tar.gz
* Support build on Microsoft Windows via MingW
* Don't verify Amazon S3's SSL certificate, doing so causes problems * Added error code to properly report the case where the SSL certificate verification fails
Diffstat (limited to 'src/general.c')
-rw-r--r--src/general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/general.c b/src/general.c
index fe0501c..7ea458a 100644
--- a/src/general.c
+++ b/src/general.c
@@ -31,7 +31,6 @@
#ifndef OPENSSL_THREADS
#error "Threading support required in OpenSSL library, but not provided"
#endif
-#include <pthread.h>
#include <string.h>
#include "request.h"
#include "simplexml.h"
@@ -234,6 +233,7 @@ const char *S3_get_status_name(S3Status status)
handlecase(AclXmlDocumentTooLarge);
handlecase(NameLookupError);
handlecase(FailedToConnect);
+ handlecase(ServerFailedVerification);
handlecase(ConnectionFailed);
handlecase(AbortedByCallback);
handlecase(ErrorAccessDenied);