Alexander Lamaison <[email protected]> writes: > 2009/9/2 Simon Josefsson <[email protected]>: >> I like it, and can test if it works for libgcrypt if you push it. > > Pushed. > Thanks Simon.
I made it compile again, and checked that it passes 'make check'. Seems OK now. /Simon >From 766127ad57f35dd55d2c1c171515f7a3b8a7467c Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[email protected]> Date: Mon, 7 Sep 2009 14:14:10 +0200 Subject: [PATCH] Fix compilation errors. --- src/libgcrypt.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libgcrypt.c b/src/libgcrypt.c index 805dca6..4e79396 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -1,5 +1,5 @@ -/* Copyright (C) 2006, 2007, The Written Word, Inc. - * Copyright (C) 2008, Simon Josefsson +/* Copyright (C) 2008, 2009, Simon Josefsson + * Copyright (C) 2006, 2007, The Written Word, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, @@ -169,7 +169,7 @@ _libssh2_rsa_new_private(libssh2_rsa_ctx ** rsa, "-----BEGIN RSA PRIVATE KEY-----", "-----END RSA PRIVATE KEY-----", fp, &data, &datalen); - fclose(fp) + fclose(fp); if (ret) { return -1; } @@ -262,7 +262,7 @@ _libssh2_dsa_new_private(libssh2_dsa_ctx ** dsa, (void) passphrase; - fp = fopen(filename); + fp = fopen(filename, "r"); if (!fp) { return -1; } -- 1.6.3.3 _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
