Browse Source

Applied patch from Alfred E. Heggestad - added include of <openssl/sha.h> and removed exter declaration of SHA1.

Vladimir Marek 18 years ago
parent
commit
884e496b45
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ser_stun.c

+ 1 - 2
ser_stun.c

@@ -33,11 +33,10 @@
 #ifdef USE_STUN 
 #ifdef USE_STUN 
  
  
 #include <arpa/inet.h>
 #include <arpa/inet.h>
+#include <openssl/sha.h>
 #include "ser_stun.h"
 #include "ser_stun.h"
 #include "forward.h"
 #include "forward.h"
 
 
-extern unsigned char* SHA1(const unsigned char* d, size_t m,unsigned char* md);
-
 /*
 /*
  * ****************************************************************************
  * ****************************************************************************
  *                     Declaration of functions                               *
  *                     Declaration of functions                               *