rbnacl-libsodium 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +4 -0
  3. data/lib/rbnacl/libsodium/version.rb +1 -1
  4. data/vendor/libsodium/ChangeLog +10 -0
  5. data/vendor/libsodium/LICENSE +1 -1
  6. data/vendor/libsodium/Makefile.in +10 -2
  7. data/vendor/libsodium/THANKS +1 -0
  8. data/vendor/libsodium/autom4te.cache/output.1 +52 -17
  9. data/vendor/libsodium/autom4te.cache/output.3 +52 -17
  10. data/vendor/libsodium/autom4te.cache/requests +558 -558
  11. data/vendor/libsodium/autom4te.cache/traces.1 +543 -542
  12. data/vendor/libsodium/autom4te.cache/traces.3 +320 -319
  13. data/vendor/libsodium/build-aux/compile +347 -0
  14. data/vendor/libsodium/build-aux/config.guess +1568 -0
  15. data/vendor/libsodium/build-aux/config.sub +1793 -0
  16. data/vendor/libsodium/build-aux/depcomp +791 -0
  17. data/vendor/libsodium/build-aux/install-sh +527 -0
  18. data/vendor/libsodium/build-aux/ltmain.sh +9655 -0
  19. data/vendor/libsodium/build-aux/missing +215 -0
  20. data/vendor/libsodium/build-aux/test-driver +139 -0
  21. data/vendor/libsodium/builds/msvc/properties/Common.props +1 -3
  22. data/vendor/libsodium/builds/msvc/properties/Release.props +3 -1
  23. data/vendor/libsodium/builds/msvc/resource.rc +0 -0
  24. data/vendor/libsodium/builds/msvc/version.h +2 -2
  25. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +1 -1
  26. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +12 -6
  27. data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +11 -5
  28. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +1 -1
  29. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +12 -6
  30. data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +11 -5
  31. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +1 -1
  32. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +12 -6
  33. data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +11 -5
  34. data/vendor/libsodium/configure +52 -17
  35. data/vendor/libsodium/configure.ac +7 -4
  36. data/vendor/libsodium/dist-build/ios.sh +4 -3
  37. data/vendor/libsodium/libsodium.vcxproj +4 -4
  38. data/vendor/libsodium/msvc-scripts/process.bat +2 -2
  39. data/vendor/libsodium/packaging/nuget/package.config +1 -1
  40. data/vendor/libsodium/packaging/nuget/package.nuspec +25 -25
  41. data/vendor/libsodium/packaging/nuget/package.targets +20 -20
  42. data/vendor/libsodium/src/libsodium/Makefile.in +2 -2
  43. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h +2 -2
  44. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +8 -8
  45. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +6 -6
  46. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +2 -2
  47. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c +1 -1
  48. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +2 -2
  49. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h +2 -2
  50. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +1 -1
  51. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +1 -1
  52. data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h +2 -2
  53. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +38 -38
  54. data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +8 -0
  55. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_frombytes.c +10 -10
  56. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_mul.c +10 -10
  57. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq.c +10 -10
  58. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq2.c +10 -10
  59. data/vendor/libsodium/src/libsodium/include/sodium.h +2 -2
  60. data/vendor/libsodium/src/libsodium/include/sodium/core.h +2 -2
  61. data/vendor/libsodium/src/libsodium/include/sodium/export.h +3 -3
  62. data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +2 -2
  63. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +4 -4
  64. data/vendor/libsodium/src/libsodium/include/sodium/version.h.in +2 -2
  65. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +9 -9
  66. data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +9 -9
  67. data/vendor/libsodium/src/libsodium/sodium/utils.c +17 -15
  68. data/vendor/libsodium/test/default/Makefile.in +5 -4
  69. data/vendor/libsodium/test/default/aead_chacha20poly1305.c +25 -0
  70. data/vendor/libsodium/test/default/aead_chacha20poly1305.exp +4 -0
  71. data/vendor/libsodium/test/default/box_easy2.c +23 -8
  72. data/vendor/libsodium/test/default/box_easy2.exp +2 -0
  73. data/vendor/libsodium/test/default/generichash.c +23 -15
  74. data/vendor/libsodium/test/default/generichash3.c +24 -20
  75. data/vendor/libsodium/test/default/pwhash.c +27 -28
  76. data/vendor/libsodium/test/default/scalarmult6.c +19 -3
  77. data/vendor/libsodium/test/default/secretbox_easy2.c +27 -11
  78. data/vendor/libsodium/test/default/secretbox_easy2.exp +3 -0
  79. data/vendor/libsodium/test/default/shorthash.c +15 -10
  80. data/vendor/libsodium/test/default/sign.c +23 -0
  81. data/vendor/libsodium/test/default/sodium_utils2.c +4 -0
  82. data/vendor/libsodium/test/default/sodium_utils3.c +4 -0
  83. metadata +10 -2
@@ -142,16 +142,22 @@
142
142
  <ClCompile Include="..\..\..\..\test\default\stream4.c">
143
143
  <Filter>src</Filter>
144
144
  </ClCompile>
145
- <ClCompile Include="..\..\..\..\test\default\stream5.c">
145
+ <ClCompile Include="..\..\..\..\test\default\sign.c">
146
146
  <Filter>src</Filter>
147
147
  </ClCompile>
148
- <ClCompile Include="..\..\..\..\test\default\stream6.c">
148
+ <ClCompile Include="..\..\..\..\test\default\pwhash.c">
149
149
  <Filter>src</Filter>
150
150
  </ClCompile>
151
- <ClCompile Include="..\..\..\..\test\default\sign.c">
151
+ <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
152
152
  <Filter>src</Filter>
153
153
  </ClCompile>
154
- <ClCompile Include="..\..\..\..\test\default\pwhash.c">
154
+ <ClCompile Include="..\..\..\..\test\default\auth6.c">
155
+ <Filter>src</Filter>
156
+ </ClCompile>
157
+ <ClCompile Include="..\..\..\..\test\default\auth7.c">
158
+ <Filter>src</Filter>
159
+ </ClCompile>
160
+ <ClCompile Include="..\..\..\..\test\default\verify1.c">
155
161
  <Filter>src</Filter>
156
162
  </ClCompile>
157
163
  </ItemGroup>
@@ -171,4 +177,4 @@
171
177
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
172
178
  </Filter>
173
179
  </ItemGroup>
174
- </Project>
180
+ </Project>
@@ -25,7 +25,7 @@
25
25
  <EnablePREfast>false</EnablePREfast>
26
26
  <PreprocessorDefinitions>inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27
27
  <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
28
- <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
28
+ <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">SODIUM_DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
29
29
  <PreprocessorDefinitions Condition="'$(Option-amd64asm)' == 'true'">HAVE_AMD64_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
30
30
  </ClCompile>
31
31
  </ItemDefinitionGroup>
@@ -64,9 +64,12 @@
64
64
  <Import Project="$(ProjectDir)$(ProjectName).props" />
65
65
  </ImportGroup>
66
66
  <ItemGroup>
67
- <ClCompile Include="..\..\..\..\test\default\auth.c">
67
+ <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
68
68
  <ExcludedFromBuild>false</ExcludedFromBuild>
69
69
  </ClCompile>
70
+ <ClCompile Include="..\..\..\..\test\default\auth.c">
71
+ <ExcludedFromBuild>true</ExcludedFromBuild>
72
+ </ClCompile>
70
73
  <ClCompile Include="..\..\..\..\test\default\auth2.c">
71
74
  <ExcludedFromBuild>true</ExcludedFromBuild>
72
75
  </ClCompile>
@@ -76,6 +79,12 @@
76
79
  <ClCompile Include="..\..\..\..\test\default\auth5.c">
77
80
  <ExcludedFromBuild>true</ExcludedFromBuild>
78
81
  </ClCompile>
82
+ <ClCompile Include="..\..\..\..\test\default\auth6.c">
83
+ <ExcludedFromBuild>true</ExcludedFromBuild>
84
+ </ClCompile>
85
+ <ClCompile Include="..\..\..\..\test\default\auth7.c">
86
+ <ExcludedFromBuild>true</ExcludedFromBuild>
87
+ </ClCompile>
79
88
  <ClCompile Include="..\..\..\..\test\default\box.c">
80
89
  <ExcludedFromBuild>true</ExcludedFromBuild>
81
90
  </ClCompile>
@@ -211,10 +220,7 @@
211
220
  <ClCompile Include="..\..\..\..\test\default\stream4.c">
212
221
  <ExcludedFromBuild>true</ExcludedFromBuild>
213
222
  </ClCompile>
214
- <ClCompile Include="..\..\..\..\test\default\stream5.c">
215
- <ExcludedFromBuild>true</ExcludedFromBuild>
216
- </ClCompile>
217
- <ClCompile Include="..\..\..\..\test\default\stream6.c">
223
+ <ClCompile Include="..\..\..\..\test\default\verify1.c">
218
224
  <ExcludedFromBuild>true</ExcludedFromBuild>
219
225
  </ClCompile>
220
226
  </ItemGroup>
@@ -223,4 +229,4 @@
223
229
  <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
224
230
  </ItemGroup>
225
231
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
226
- </Project>
232
+ </Project>
@@ -142,16 +142,22 @@
142
142
  <ClCompile Include="..\..\..\..\test\default\stream4.c">
143
143
  <Filter>src</Filter>
144
144
  </ClCompile>
145
- <ClCompile Include="..\..\..\..\test\default\stream5.c">
145
+ <ClCompile Include="..\..\..\..\test\default\sign.c">
146
146
  <Filter>src</Filter>
147
147
  </ClCompile>
148
- <ClCompile Include="..\..\..\..\test\default\stream6.c">
148
+ <ClCompile Include="..\..\..\..\test\default\pwhash.c">
149
149
  <Filter>src</Filter>
150
150
  </ClCompile>
151
- <ClCompile Include="..\..\..\..\test\default\sign.c">
151
+ <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
152
152
  <Filter>src</Filter>
153
153
  </ClCompile>
154
- <ClCompile Include="..\..\..\..\test\default\pwhash.c">
154
+ <ClCompile Include="..\..\..\..\test\default\auth6.c">
155
+ <Filter>src</Filter>
156
+ </ClCompile>
157
+ <ClCompile Include="..\..\..\..\test\default\auth7.c">
158
+ <Filter>src</Filter>
159
+ </ClCompile>
160
+ <ClCompile Include="..\..\..\..\test\default\verify1.c">
155
161
  <Filter>src</Filter>
156
162
  </ClCompile>
157
163
  </ItemGroup>
@@ -171,4 +177,4 @@
171
177
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
172
178
  </Filter>
173
179
  </ItemGroup>
174
- </Project>
180
+ </Project>
@@ -25,7 +25,7 @@
25
25
  <EnablePREfast>false</EnablePREfast>
26
26
  <PreprocessorDefinitions>inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
27
27
  <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
28
- <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
28
+ <PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">SODIUM_DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
29
29
  <PreprocessorDefinitions Condition="'$(Option-amd64asm)' == 'true'">HAVE_AMD64_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
30
30
  </ClCompile>
31
31
  </ItemDefinitionGroup>
@@ -64,9 +64,12 @@
64
64
  <Import Project="$(ProjectDir)$(ProjectName).props" />
65
65
  </ImportGroup>
66
66
  <ItemGroup>
67
- <ClCompile Include="..\..\..\..\test\default\auth.c">
67
+ <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
68
68
  <ExcludedFromBuild>false</ExcludedFromBuild>
69
69
  </ClCompile>
70
+ <ClCompile Include="..\..\..\..\test\default\auth.c">
71
+ <ExcludedFromBuild>true</ExcludedFromBuild>
72
+ </ClCompile>
70
73
  <ClCompile Include="..\..\..\..\test\default\auth2.c">
71
74
  <ExcludedFromBuild>true</ExcludedFromBuild>
72
75
  </ClCompile>
@@ -76,6 +79,12 @@
76
79
  <ClCompile Include="..\..\..\..\test\default\auth5.c">
77
80
  <ExcludedFromBuild>true</ExcludedFromBuild>
78
81
  </ClCompile>
82
+ <ClCompile Include="..\..\..\..\test\default\auth6.c">
83
+ <ExcludedFromBuild>true</ExcludedFromBuild>
84
+ </ClCompile>
85
+ <ClCompile Include="..\..\..\..\test\default\auth7.c">
86
+ <ExcludedFromBuild>true</ExcludedFromBuild>
87
+ </ClCompile>
79
88
  <ClCompile Include="..\..\..\..\test\default\box.c">
80
89
  <ExcludedFromBuild>true</ExcludedFromBuild>
81
90
  </ClCompile>
@@ -211,10 +220,7 @@
211
220
  <ClCompile Include="..\..\..\..\test\default\stream4.c">
212
221
  <ExcludedFromBuild>true</ExcludedFromBuild>
213
222
  </ClCompile>
214
- <ClCompile Include="..\..\..\..\test\default\stream5.c">
215
- <ExcludedFromBuild>true</ExcludedFromBuild>
216
- </ClCompile>
217
- <ClCompile Include="..\..\..\..\test\default\stream6.c">
223
+ <ClCompile Include="..\..\..\..\test\default\verify1.c">
218
224
  <ExcludedFromBuild>true</ExcludedFromBuild>
219
225
  </ClCompile>
220
226
  </ItemGroup>
@@ -223,4 +229,4 @@
223
229
  <ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
224
230
  </ItemGroup>
225
231
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
226
- </Project>
232
+ </Project>
@@ -142,16 +142,22 @@
142
142
  <ClCompile Include="..\..\..\..\test\default\stream4.c">
143
143
  <Filter>src</Filter>
144
144
  </ClCompile>
145
- <ClCompile Include="..\..\..\..\test\default\stream5.c">
145
+ <ClCompile Include="..\..\..\..\test\default\sign.c">
146
146
  <Filter>src</Filter>
147
147
  </ClCompile>
148
- <ClCompile Include="..\..\..\..\test\default\stream6.c">
148
+ <ClCompile Include="..\..\..\..\test\default\pwhash.c">
149
149
  <Filter>src</Filter>
150
150
  </ClCompile>
151
- <ClCompile Include="..\..\..\..\test\default\sign.c">
151
+ <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
152
152
  <Filter>src</Filter>
153
153
  </ClCompile>
154
- <ClCompile Include="..\..\..\..\test\default\pwhash.c">
154
+ <ClCompile Include="..\..\..\..\test\default\auth6.c">
155
+ <Filter>src</Filter>
156
+ </ClCompile>
157
+ <ClCompile Include="..\..\..\..\test\default\auth7.c">
158
+ <Filter>src</Filter>
159
+ </ClCompile>
160
+ <ClCompile Include="..\..\..\..\test\default\verify1.c">
155
161
  <Filter>src</Filter>
156
162
  </ClCompile>
157
163
  </ItemGroup>
@@ -171,4 +177,4 @@
171
177
  <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
172
178
  </Filter>
173
179
  </ItemGroup>
174
- </Project>
180
+ </Project>
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for libsodium 1.0.0.
3
+ # Generated by GNU Autoconf 2.69 for libsodium 1.0.1.
4
4
  #
5
5
  # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
6
6
  #
@@ -590,8 +590,8 @@ MAKEFLAGS=
590
590
  # Identity of this package.
591
591
  PACKAGE_NAME='libsodium'
592
592
  PACKAGE_TARNAME='libsodium'
593
- PACKAGE_VERSION='1.0.0'
594
- PACKAGE_STRING='libsodium 1.0.0'
593
+ PACKAGE_VERSION='1.0.1'
594
+ PACKAGE_STRING='libsodium 1.0.1'
595
595
  PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
596
596
  PACKAGE_URL='https://github.com/jedisct1/libsodium'
597
597
 
@@ -1353,7 +1353,7 @@ if test "$ac_init_help" = "long"; then
1353
1353
  # Omit some internal or obsolete options to make the list less imposing.
1354
1354
  # This message is too long to be a string in the A/UX 3.1 sh.
1355
1355
  cat <<_ACEOF
1356
- \`configure' configures libsodium 1.0.0 to adapt to many kinds of systems.
1356
+ \`configure' configures libsodium 1.0.1 to adapt to many kinds of systems.
1357
1357
 
1358
1358
  Usage: $0 [OPTION]... [VAR=VALUE]...
1359
1359
 
@@ -1423,7 +1423,7 @@ fi
1423
1423
 
1424
1424
  if test -n "$ac_init_help"; then
1425
1425
  case $ac_init_help in
1426
- short | recursive ) echo "Configuration of libsodium 1.0.0:";;
1426
+ short | recursive ) echo "Configuration of libsodium 1.0.1:";;
1427
1427
  esac
1428
1428
  cat <<\_ACEOF
1429
1429
 
@@ -1550,7 +1550,7 @@ fi
1550
1550
  test -n "$ac_init_help" && exit $ac_status
1551
1551
  if $ac_init_version; then
1552
1552
  cat <<\_ACEOF
1553
- libsodium configure 1.0.0
1553
+ libsodium configure 1.0.1
1554
1554
  generated by GNU Autoconf 2.69
1555
1555
 
1556
1556
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1919,7 +1919,7 @@ cat >config.log <<_ACEOF
1919
1919
  This file contains any messages produced by compilers while
1920
1920
  running configure, to aid debugging if configure makes a mistake.
1921
1921
 
1922
- It was created by libsodium $as_me 1.0.0, which was
1922
+ It was created by libsodium $as_me 1.0.1, which was
1923
1923
  generated by GNU Autoconf 2.69. Invocation command line was
1924
1924
 
1925
1925
  $ $0 $@
@@ -2267,10 +2267,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
2267
2267
  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268
2268
 
2269
2269
 
2270
-
2271
-
2272
2270
  ac_aux_dir=
2273
- for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2271
+ for ac_dir in build-aux "$srcdir"/build-aux; do
2274
2272
  if test -f "$ac_dir/install-sh"; then
2275
2273
  ac_aux_dir=$ac_dir
2276
2274
  ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -2286,7 +2284,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2286
2284
  fi
2287
2285
  done
2288
2286
  if test -z "$ac_aux_dir"; then
2289
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2287
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2290
2288
  fi
2291
2289
 
2292
2290
  # These three variables are undocumented and unsupported,
@@ -2298,6 +2296,8 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2298
2296
  ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2299
2297
 
2300
2298
 
2299
+
2300
+
2301
2301
  # Make sure we can run config.sub.
2302
2302
  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2303
2303
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
@@ -2855,7 +2855,7 @@ fi
2855
2855
 
2856
2856
  # Define the identity of the package.
2857
2857
  PACKAGE='libsodium'
2858
- VERSION='1.0.0'
2858
+ VERSION='1.0.1'
2859
2859
 
2860
2860
 
2861
2861
  cat >>confdefs.h <<_ACEOF
@@ -3150,9 +3150,9 @@ ISODATE=`date +%Y-%m-%d`
3150
3150
 
3151
3151
 
3152
3152
  SODIUM_LIBRARY_VERSION_MAJOR=7
3153
- SODIUM_LIBRARY_VERSION_MINOR=2
3153
+ SODIUM_LIBRARY_VERSION_MINOR=3
3154
3154
  DLL_VERSION=6
3155
- SODIUM_LIBRARY_VERSION=13:2:0
3155
+ SODIUM_LIBRARY_VERSION=13:3:0
3156
3156
  # | | |
3157
3157
  # +------+ | +---+
3158
3158
  # | | |
@@ -5115,7 +5115,42 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5115
5115
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5116
5116
 
5117
5117
 
5118
- CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
5118
+
5119
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -D_FORTIFY_SOURCE=2" >&5
5120
+ $as_echo_n "checking whether C compiler accepts -D_FORTIFY_SOURCE=2... " >&6; }
5121
+ if ${ax_cv_check_cflags___D_FORTIFY_SOURCE_2+:} false; then :
5122
+ $as_echo_n "(cached) " >&6
5123
+ else
5124
+
5125
+ ax_check_save_flags=$CFLAGS
5126
+ CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
5127
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128
+ /* end confdefs.h. */
5129
+ #include <stdio.h>
5130
+ int
5131
+ main ()
5132
+ {
5133
+ char x[42U], fodder = 0;if (fodder > -1000 && fgets(x,1000,stdin)) puts(x)
5134
+ ;
5135
+ return 0;
5136
+ }
5137
+ _ACEOF
5138
+ if ac_fn_c_try_compile "$LINENO"; then :
5139
+ ax_cv_check_cflags___D_FORTIFY_SOURCE_2=yes
5140
+ else
5141
+ ax_cv_check_cflags___D_FORTIFY_SOURCE_2=no
5142
+ fi
5143
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5144
+ CFLAGS=$ax_check_save_flags
5145
+ fi
5146
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___D_FORTIFY_SOURCE_2" >&5
5147
+ $as_echo "$ax_cv_check_cflags___D_FORTIFY_SOURCE_2" >&6; }
5148
+ if test x"$ax_cv_check_cflags___D_FORTIFY_SOURCE_2" = xyes; then :
5149
+ CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
5150
+ else
5151
+ :
5152
+ fi
5153
+
5119
5154
 
5120
5155
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fvisibility=hidden" >&5
5121
5156
  $as_echo_n "checking whether C compiler accepts -fvisibility=hidden... " >&6; }
@@ -15504,7 +15539,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15504
15539
  # report actual input values of CONFIG_FILES etc. instead of their
15505
15540
  # values after options handling.
15506
15541
  ac_log="
15507
- This file was extended by libsodium $as_me 1.0.0, which was
15542
+ This file was extended by libsodium $as_me 1.0.1, which was
15508
15543
  generated by GNU Autoconf 2.69. Invocation command line was
15509
15544
 
15510
15545
  CONFIG_FILES = $CONFIG_FILES
@@ -15562,7 +15597,7 @@ _ACEOF
15562
15597
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15563
15598
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15564
15599
  ac_cs_version="\\
15565
- libsodium config.status 1.0.0
15600
+ libsodium config.status 1.0.1
15566
15601
  configured by $0, generated by GNU Autoconf 2.69,
15567
15602
  with options \\"\$ac_cs_config\\"
15568
15603
 
@@ -1,8 +1,9 @@
1
1
  AC_PREREQ([2.65])
2
- AC_INIT([libsodium],[1.0.0],
2
+ AC_INIT([libsodium],[1.0.1],
3
3
  [https://github.com/jedisct1/libsodium/issues],
4
4
  [libsodium],
5
5
  [https://github.com/jedisct1/libsodium])
6
+ AC_CONFIG_AUX_DIR([build-aux])
6
7
  AC_CONFIG_MACRO_DIR([m4])
7
8
  AC_CONFIG_SRCDIR([src/libsodium/sodium/version.c])
8
9
  AC_CANONICAL_HOST
@@ -16,9 +17,9 @@ ISODATE=`date +%Y-%m-%d`
16
17
  AC_SUBST(ISODATE)
17
18
 
18
19
  SODIUM_LIBRARY_VERSION_MAJOR=7
19
- SODIUM_LIBRARY_VERSION_MINOR=2
20
+ SODIUM_LIBRARY_VERSION_MINOR=3
20
21
  DLL_VERSION=6
21
- SODIUM_LIBRARY_VERSION=13:2:0
22
+ SODIUM_LIBRARY_VERSION=13:3:0
22
23
  # | | |
23
24
  # +------+ | +---+
24
25
  # | | |
@@ -135,7 +136,9 @@ dnl Checks
135
136
  AC_PROG_CC_C99
136
137
  AM_PROG_AS
137
138
  AC_USE_SYSTEM_EXTENSIONS
138
- CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
139
+
140
+ AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=2],
141
+ [CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"])
139
142
 
140
143
  AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],
141
144
  [CFLAGS="$CFLAGS -fvisibility=hidden"])
@@ -3,9 +3,10 @@
3
3
  export XCODEDIR=$(xcode-select -p)
4
4
  export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
5
5
  export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
6
- export SDK="${BASEDIR}/SDKs/iPhoneOS8.0.sdk"
7
- export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
8
- export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
6
+ export SDK="${BASEDIR}/SDKs/iPhoneOS.sdk"
7
+ export IPHONEOS_VERSION_MIN="5.1.1"
8
+ export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK} -miphoneos-version-min=${IPHONEOS_VERSION_MIN}"
9
+ export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK} -miphoneos-version-min=${IPHONEOS_VERSION_MIN}"
9
10
  export PREFIX="$(pwd)/libsodium-ios"
10
11
 
11
12
  ./configure --host=arm-apple-darwin10 \
@@ -194,7 +194,7 @@
194
194
  </PrecompiledHeader>
195
195
  <WarningLevel>Level3</WarningLevel>
196
196
  <Optimization>Disabled</Optimization>
197
- <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
197
+ <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
198
198
  <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
199
199
  <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
200
200
  <AdditionalIncludeDirectories>$(SolutionDir);$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include\sodium;$(SolutionDir)src\libsodium\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@@ -225,7 +225,7 @@
225
225
  </PrecompiledHeader>
226
226
  <WarningLevel>Level3</WarningLevel>
227
227
  <Optimization>Disabled</Optimization>
228
- <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
228
+ <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
229
229
  <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
230
230
  <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
231
231
  </ClCompile>
@@ -263,7 +263,7 @@
263
263
  <Optimization>Full</Optimization>
264
264
  <FunctionLevelLinking>true</FunctionLevelLinking>
265
265
  <IntrinsicFunctions>true</IntrinsicFunctions>
266
- <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
266
+ <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
267
267
  <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
268
268
  <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
269
269
  <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
@@ -303,7 +303,7 @@
303
303
  <Optimization>MaxSpeed</Optimization>
304
304
  <FunctionLevelLinking>true</FunctionLevelLinking>
305
305
  <IntrinsicFunctions>true</IntrinsicFunctions>
306
- <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
306
+ <PreprocessorDefinitions>SODIUM_EXPORT=__declspec(dllexport);SODIUM_DLL_EXPORT;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
307
307
  <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
308
308
  <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
309
309
  </ClCompile>