Revision c6b32510c32848d2476d0eb78548ee8d952bc8fe authored by Curtis Vogt on 20 February 2017, 14:09:32 UTC, committed by Tony Kelman on 20 February 2017, 14:09:32 UTC
* Use mbedTLS hostname verification for LibGit2 Corrects issues with hostname verification failing when the SSL subjectAltName is not specified and the CN should be used. * Add test for mbedTLS verification * Made mbedTLS verification a seperate patch * Disable startup-file * Remove use of which * Changes from PR review * Use localhost when hostname isn't set to loopback * Handle getaddrinfo exception * Improve warning message * Add libgit2-mbedtls-hostname.patch dependency libgit2-mbedtls-hostname patch directly depends on the libgit2-mbedtls patch. The libgit2-mbedtls-writer-fix patch also modifies the mbedtls_stream.c file seperate section of the file. To ensure that the patches are always applied in the same order we'll make the hostname patch dependent on the writer-fix patch.
1 parent 9706c8b
conjarray.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license
@testset "Core" begin
m = [1+im 2; 2 4-im]
cm = ConjMatrix(m)
@test cm[1,1] == 1-im
@test cm[1] == 1-im
@test trace(cm*m) == 27
@test cm' == m
cm[:,2] = [3; 3-im] #setindex! with a vector
@test conj(cm) == [1+im 3; 2 3+im]
v = [[1+im], [1-im]]
cv = ConjVector(v)
@test cv[1] == [1-im]
end
@testset "RowVector conjugates" begin
v = [1+im, 1-im]
rv = v'
@test (parent(rv) isa ConjArray)
@test rv' === v
# Currently, view behavior defaults to only RowVectors.
@test isa((v').', Vector)
@test isa((v.')', Vector)
end
Computing file changes ...