Skip to content
This repository
Browse code

Update readme with srtp patching instructions

This is needed to compile with OS X 10.8 support
  • Loading branch information...
commit e564f01ba40b92b9cf35b80cc033cb07ddaf5931 1 parent 8579b22
Alexei Kuznetsov authored November 16, 2013

Showing 1 changed file with 16 additions and 0 deletions. Show diff stats Hide diff stats

  1. 16  README.md
16  README.md
Source Rendered
@@ -59,6 +59,22 @@ Add `static` at the line 286 in `third_party/srtp/crypto/cipher/aes_icm.c`:
59 59
        /* fill buffer with new keystream */
60 60
        v128_copy(&c->keystream_buffer, &c->counter);
61 61
 
  62
+Add `static` at the line 127 in `third_party/srtp/crypto/math/datatypes.c`:
  63
+
  64
+    Index: third_party/srtp/crypto/math/datatypes.c
  65
+    ===================================================================
  66
+    --- third_party/srtp/crypto/math/datatypes.c	(revision 4641)
  67
+    +++ third_party/srtp/crypto/math/datatypes.c	(working copy)
  68
+    @@ -124,7 +124,7 @@
  69
+       return bit_string;
  70
+     }
  71
+
  72
+    -inline int
  73
+    +static inline int
  74
+     hex_char_to_nibble(uint8_t c) {
  75
+       switch(c) {
  76
+       case ('0'): return 0x0;
  77
+
62 78
 Configure and build pjsip:
63 79
 
64 80
     $ CFLAGS="-mmacosx-version-min=10.8" ./configure

0 notes on commit e564f01

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