Skip to content

Commit

Permalink
release 1.0.21 (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenml authored May 7, 2023
1 parent 3074027 commit cfff477
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ else()
set(BUILD_SHARED_LIBS ON)
endif()

project(ecc VERSION 1.0.20)
project(ecc VERSION 1.0.21)
project(ecc LANGUAGES C)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
Expand Down
4 changes: 2 additions & 2 deletions bindings/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aldenml/ecc",
"version": "1.0.20",
"version": "1.0.21",
"description": "elliptic curves crypto functions",
"main": "index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion bindings/js/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe("util",() => {
await libecc_promise;

const v = version();
assert.strictEqual(v, "1.0.20");
assert.strictEqual(v, "1.0.21");
});
});

Expand Down
2 changes: 1 addition & 1 deletion bindings/jvm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
}

group = "org.ssohub"
version = "1.0.20"
version = "1.0.21"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ void test_ecc_randombytes() {
@Test
void test_version() {
String v = version();
assertEquals("1.0.20", v);
assertEquals("1.0.21", v);
}
}
2 changes: 1 addition & 1 deletion bindings/python/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = libecc
version = 1.0.20
version = 1.0.21
author = Alden Torres
author_email = aldenml@gmail.com
description = elliptic curves crypto functions
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_ecc_version(self):
buf = bytearray(10)
v_len = libecc.ecc_version(buf, len(buf))
v = buf[0:v_len].decode()
self.assertEqual(v, "1.0.20")
self.assertEqual(v, "1.0.21")


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sonar.projectName=ecc
sonar.projectKey=aldenml_ecc
sonar.organization=aldenml
sonar.projectVersion=1.0.20
sonar.projectVersion=1.0.21

sonar.sources=src
sonar.sourceEncoding=UTF-8
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int ecc_is_zero(const byte_t *n, const int len) {
}

int ecc_version(byte_t *out, const int len) {
const char *v = "1.0.20";
const char *v = "1.0.21";
const int v_len = (int) strlen(v);

memcpy(out, v, (size_t) (v_len < len ? v_len : len));
Expand Down
4 changes: 2 additions & 2 deletions test/test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ static void test_ecc_version(void **state) {

byte_t buf2[7];
ecc_version(buf2, sizeof buf2);
assert_string_equal(buf2, "1.0.20");
assert_string_equal(buf2, "1.0.21");

byte_t buf3[10];
ecc_version(buf3, sizeof buf3);
assert_string_equal(buf3, "1.0.20");
assert_string_equal(buf3, "1.0.21");
}

static void test_ecc_malloc(void **state) {
Expand Down

0 comments on commit cfff477

Please sign in to comment.