New Option SSL_OP_CIPHER_SERVER_PREFERENCE allows TLS/SSLv3 server to override
[openssl.git] / apps / engine.c
index 8abe04e808c90fd8291fb343cfc68ceea4720eba..13de0bdaadfdec3a021eb1e4195eb95e88a159b2 100644 (file)
@@ -73,9 +73,7 @@
 static char *engine_usage[]={
 "usage: engine opts [engine ...]\n",
 " -v          - verbose mode, a textual listing of the engines in OpenSSL\n",
-#if 0
 " -c          - for each engine, also list the capabilities\n",
-#endif
 " -t          - for each engine, check that they are really available\n",
 NULL
 };
@@ -101,7 +99,7 @@ static int append_buf(char **buf, char *s, int *size, int step)
        if (**buf != '\0')
                l += 2;         /* ", " */
 
-       if (strlen(*buf) + strlen(s) >= *size)
+       if (strlen(*buf) + strlen(s) >= (unsigned int)*size)
                {
                *size += step;
                *buf = OPENSSL_realloc(*buf, *size);