src/pEpEngine.c
changeset 125 5119178815d8
parent 113 4bee48270834
child 191 3bb51ee8f90d
     1.1 --- a/src/pEpEngine.c	Wed Mar 25 12:55:15 2015 +0100
     1.2 +++ b/src/pEpEngine.c	Wed Mar 25 15:20:25 2015 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4 +#include "pEp_internal.h"
     1.5  #include "dynamic_api.h"
     1.6 -#include "pEp_internal.h"
     1.7  #include "cryptotech.h"
     1.8  #include "transport.h"
     1.9  
    1.10 @@ -377,7 +377,7 @@
    1.11  {
    1.12  	const char *source = fingerprint;
    1.13  	char *buffer;
    1.14 -	char *dest = buffer;
    1.15 +	char *dest;
    1.16  	size_t fsize;
    1.17      PEP_STATUS _status;
    1.18  
    1.19 @@ -394,6 +394,7 @@
    1.20      assert(buffer);
    1.21      if (buffer == NULL)
    1.22          return PEP_OUT_OF_MEMORY;
    1.23 +    dest = buffer;
    1.24  
    1.25  	fsize = strlen(fingerprint);
    1.26