Skip to content
Browse files

Fix compilation with gcc 4.6.0

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...
1 parent fccc685 commit 6ff48e4bcf609c08fff2e3d5fcac28a9ac2a4207 @delroth delroth committed Jun 21, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 libsecurity/binding_ssl_ext.c
3 libsecurity/binding_ssl_ext.c
@@ -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;

0 comments on commit 6ff48e4

Please sign in to comment.
Something went wrong with that request. Please try again.