Skip to content

Commit

Permalink
Fix compilation with gcc 4.6.0
Browse files Browse the repository at this point in the history
The libsecurity binding is compiled with the -Werror flag, causing a
compilation error with gcc 4.6.0 due to two unused variables in
binding_ssl_ext.c. This commit removes these two variables to allow compilation
on an up to date Linux system.
  • Loading branch information
delroth committed Jun 21, 2011
1 parent fccc685 commit 6ff48e4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libsecurity/binding_ssl_ext.c
Expand Up @@ -167,11 +167,8 @@ static int no_client_verify_callback(int ok, X509_STORE_CTX *ctx)
{
char *subject, *issuer;
unsigned char *signature;
int depth, error;
char *xs;

depth = ctx->error_depth;
error = ctx->error;
xs = (char *)X509_STORE_CTX_get_current_cert(ctx);

subject = issuer = NULL;
Expand Down

0 comments on commit 6ff48e4

Please sign in to comment.