Skip to content

Commit

Permalink
Fix indentation in generateEVPPKey function
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal authored Dec 10, 2024
1 parent 1c709ca commit 4b8e443
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions evp.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ func generateEVPPKey(id C.int, bits int, curve string) (C.GO_EVP_PKEY_PTR, error
}
var curveID C.int
if curve != "" {
var err error
if curveID, err = curveNID(curve); err != nil {
return nil, err
}
}
var err error
if curveID, err = curveNID(curve); err != nil {

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / mactest (1.22.x, /usr/local/opt/openssl@3/lib/libcrypto.3.dylib)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / mactest (1.23.x, /usr/local/opt/openssl@3/lib/libcrypto.3.dylib)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / mactest (1.22.x, /usr/local/opt/openssl@3/lib/libcrypto.3.dylib)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / mactest (1.23.x, /usr/local/opt/openssl@3/lib/libcrypto.3.dylib)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.1.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.23.x, libcrypto-1_1-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.1.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.0.2)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.22.x, libcrypto-3-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.23.x, libcrypto-3-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.22.x, libcrypto-1_1-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.1.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.22.x, libcrypto-1_1-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.1.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.0.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.0.2)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.22.x, libcrypto-3-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.0.13)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.1.5)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.1.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.1.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 1.0.2)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.23.x, libcrypto-3-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.0.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.2.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.1.5)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / wintest (1.23.x, libcrypto-1_1-x64.dll)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.0.13)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.3.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.3.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.2.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.1.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.1.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 1.0.2)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.0.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.3.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.0.13)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.3.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.1.5)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.2.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.3.0)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.0.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, 3.3.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.0.13)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.1.5)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.2.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.3.1)

assignment mismatch: 2 variables but curveNID returns 1 value

Check failure on line 174 in evp.go

View workflow job for this annotation

GitHub Actions / test (1.23.x, 3.3.0)

assignment mismatch: 2 variables but curveNID returns 1 value
return nil, err
}
}
var pkey C.GO_EVP_PKEY_PTR
switch vMajor {
case 1:
Expand Down

0 comments on commit 4b8e443

Please sign in to comment.